package com.common.baselib.bean;


public class ResultBean<T> {
    public int code;
    public String message;
    public T data;


    public boolean isSuccess() {
        return code == 200;
    }

    public boolean shouldReLogin() {
        return 401 == code;
    }
}